public class Person {

	private String mName;
	private double mSalary;
	private long mMatrikelnr;

	public String getName() {
		return mName;
	}

	public void setName(String name) {
		mName = name;
	}

	public void setSalary(double salary) {
		mSalary = salary;
	}

	public double getSalary() {
		return mSalary;
	}

	public String toString() {
		return mName + ", Matrikelnummer: " + mMatrikelnr + ", Salary: "
				+ mSalary;
	}

	public void setMatrikelnr(long Matrikelnr) {
		if (Matrikelnr == null)
			mMatrikelnr = Matrikelnr;
		else
			mMatrikelnr = 55;

	}

	public long getMatrikelnr() {
		return mMatrikelnr;

	}

}